|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Encode a String for card holder verification.
| Field Summary | |
static java.lang.String |
BCD_ENCODING
The CHV is actually a PIN that is encoded in packed binary coded decimals (BCD) |
static java.lang.String |
STRING_ENCODING
String encoding; that is, use the String.getBytes() method. |
| Method Summary | |
byte[] |
encodeCHV(java.lang.String chv)
Transform a Java String into a byte array suitable for the verification command |
| Field Detail |
public static final java.lang.String STRING_ENCODING
public static final java.lang.String BCD_ENCODING
| Method Detail |
public byte[] encodeCHV(java.lang.String chv)
chv - the String (returned by keyboardInput e.g.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||